package com.wl.org.mapper;

import com.wl.basic.mapper.BaseMapper;
import com.wl.org.domain.Department;
import com.wl.org.query.DepartmentQuery;

import java.util.List;

public interface DepartmentMapper extends BaseMapper<Department> {
   /* *//**
     * 保存一个对象
     * @param department
     *//*
    void save(Department department);

    *//**
     * 移除一个对象
     * @param id
     *//*
    void remove(Long id);

    *//**
     * 更新一个对象
     * @param department
     *//*
    void update(Department department);

    *//**
     * 加载一个对象
     * @param id
     * @return
     *//*
    Department loadById(Long id);

    *//**
     * 加载所有对象
     * @return
     *//*
    List<Department> loadAll();
    *//**
     * 查询总条数
     * @param departmentQuery
     * @return
     *//*
    Integer queryCount(DepartmentQuery departmentQuery);

    *//**
     * 查询当前页的数据
     * @param departmentQuery
     * @return
     *//*
    List<Department>queryData(DepartmentQuery departmentQuery);
    *//**
     * 批量删除
     * @param ids
     *//*
    void removeA(List<Long> ids);*/

    /**
     * //无限极树
     * @return
     */
    List<Department> deptTree();
}
